/**
 * @file mock data
 * @author autoresponse
 */

/* eslint-disable fecs-camelcase */

/**
 * 获取 mock 响应数据
 *
 * @param {string} path 请求路径名
 * @param {Object} queryParam 查询参数信息
 * @param {Object} postParam post 的查询参数信息
 * @return {Object}
 */
module.exports = function (path, queryParam, postParam) {
    return {
        // 可以通过该属性来设置响应的延时，也可以设为值为'0,100'，表示随机 0-100ms 的延时，默认 0
        _timeout: 0,

        // 通过该状态来设置响应的 http 的状态码，默认 200
        _status: 200,

        // 对于要响应的 json 数据可以统一放在该字段里，也可以不使用该字段，直接跟 _xx 属性平级放
        _data: {
            "data": {
                "list": [{
                    "msg": "",
                    "updateDate": "2016-11-22 16:49:10",
                    "fee": 2.00,
                    "mobile": "",
                    "admin": 0,
                    "alipayName": "",
                    "pay": 98.00000000,
                    "txid": "20161122000010021192011649101007",
                    "alipayAccount": "",
                    "optType": "OUT",
                    "uid": 27894,
                    "bank": "中国农业银行",
                    "money": 100.00000000,
                    "acnumber": "6228480010812180015",
                    "name": "杨娟",
                    "id": 3980,
                    "createDate": "2016-11-22 16:49:10",
                    "status": "WAIT"
                }, {
                    "msg": "",
                    "updateDate": "2016-11-22 16:09:24",
                    "fee": 2.00,
                    "mobile": "",
                    "admin": 0,
                    "alipayName": "",
                    "pay": 98.00000000,
                    "txid": "20161122000010021192011609241006",
                    "alipayAccount": "",
                    "optType": "OUT",
                    "uid": 27894,
                    "bank": "中国农业银行",
                    "money": 100.00000000,
                    "acnumber": "6228480010812180015",
                    "name": "杨娟",
                    "id": 3969,
                    "createDate": "2016-11-22 16:09:24",
                    "status": "WAIT"
                }, {
                    "msg": "",
                    "updateDate": "2016-11-22 16:07:33",
                    "fee": 2.00,
                    "mobile": "",
                    "admin": 0,
                    "alipayName": "",
                    "pay": 98.00000000,
                    "txid": "20161122000010021192011607331005",
                    "alipayAccount": "",
                    "optType": "OUT",
                    "uid": 27894,
                    "bank": "中国农业银行",
                    "money": 100.00000000,
                    "acnumber": "6228480010812180015",
                    "name": "杨娟",
                    "id": 3966,
                    "createDate": "2016-11-22 16:07:33",
                    "status": "WAIT"
                }, {
                    "msg": "",
                    "updateDate": "2016-11-22 16:01:44",
                    "fee": 2.00,
                    "mobile": "",
                    "admin": 0,
                    "alipayName": "",
                    "pay": 98.00000000,
                    "txid": "20161122000010021192011601441004",
                    "alipayAccount": "",
                    "optType": "OUT",
                    "uid": 27894,
                    "bank": "中国农业银行",
                    "money": 100.00000000,
                    "acnumber": "6228480010812180015",
                    "name": "杨娟",
                    "id": 3959,
                    "createDate": "2016-11-22 16:01:44",
                    "status": "SUCCESS"
                }, {
                    "msg": "",
                    "updateDate": "2016-11-22 15:48:48",
                    "fee": 2.00,
                    "mobile": "",
                    "admin": 0,
                    "alipayName": "",
                    "pay": 98.00000000,
                    "txid": "20161122000010021192011548481003",
                    "alipayAccount": "",
                    "optType": "OUT",
                    "uid": 27894,
                    "bank": "中国农业银行",
                    "money": 100.00000000,
                    "acnumber": "6228480010812180015",
                    "name": "杨娟",
                    "id": 3956,
                    "createDate": "2016-11-22 15:48:48",
                    "status": "CANCEL"
                }], "pageNum": 13
            }, "msg": "success", "code": "100200"
        }
    };
};

/* eslint-enable fecs-camelcase */
